.selectDoc {
  background-color: #fff;
}

.listButton {
  position: absolute;
  top: 0;
  right: 0;
  height: 25px;
  color: var(--inbiz-color-primary);
  font-size: 16px;
  line-height: 25px;
  text-align: center;
  cursor: pointer;
}

.folderRow {
  padding-left: 0;

  .adm-list-item-content-main {
    width: 270px;
    padding: 6px 0 5px;
  }

  .adm-list-item-content {
    border-top: none;
    border-bottom: solid 1px #f8f8f8;

    .adm-list-item-description {
      color: var(--inbiz-color-secondary-text);
    }
  }

  .adm-list-item-title {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    // color: #333;
    color: var(--inbiz-color-heading);
    font-size: 16px;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .adm-list-item-content-extra {
    padding-bottom: 7px;

    .adm-checkbox {
      --icon-size: 12px;

      justify-content: center;
      width: 20px;

      &.adm-checkbox-checked {
        --icon-size: 20px;
      }
    }
  }

  .adm-list-item-content-prefix {
    padding-right: 16px;
    padding-left: 16px;

    img {
      width: 24px;
      height: 24px;
      margin: 0 4px;
    }
  }
}

.tabs {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;

  --active-line-color: var(--inbiz-color-primary);

  // :global {
  //   .adm-tabs-content {
  //     position: relative;
  //     flex: 1;
  //     padding: 0;
  //     overflow: hidden;
  //   }
  //   .adm-tabs-tab {
  //     font-size: 16px;
  //   }
  //   .adm-tabs-tab-active {
  //     color: var(--inbiz-color-primary);
  //     font-size: 16px;
  //   }
  // }

  .adm-tabs-content {
    position: relative;
    flex: 1;
    height: calc(100% - 45px);
    padding: 0;
    overflow: hidden;
  }

  .adm-tabs-tab {
    font-size: 16px;
  }

  .adm-tabs-tab-active {
    color: var(--inbiz-color-primary);
    font-size: 16px;
  }
}

.selectedCountRow {
  display: flex;
  flex: 0 0 45px;
  align-items: center;
  height: 44px;
  padding: 0 10px;
  line-height: 44px;
  background-color: #fff;
  border-top: 1px solid var(--inbiz-color-border-base);

  .selectedCountRowLeft {
    flex: 1;

    .selectAll {
      margin-right: 10px;
      color: var(--inbiz-color-primary);
      font-size: 14px;
    }

    .selected {
      color: var(--inbiz-color-text);
      font-size: 10px;
    }
  }

  button {
    background: var(--inbiz-color-primary);
    border-color: var(--inbiz-color-primary);
  }
}

.tabsItem {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.ellipsis {
  margin-bottom: 0;
  overflow: hidden;
  color: #c9c9c9;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: break-all;
}

.selectDocItem {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 10px 16px;
  border: 1px solid #f8f8f8;
  border-radius: 8px;

  .left {
    width: 24px;
    margin-right: 22px;
  }

  .right {
    width: 18px;
    margin-left: 10px;
  }

  .center {
    flex: 1;
    overflow: hidden;

    p {
      margin: 0;

      &:first-child {
        padding-left: 2px;
        color: #000;
        font-size: 16px;
      }
    }
  }
}

.selectDocModel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--adm-popup-z-index, 1000);
  display: flex;
  flex-direction: column;
  background-color: #fff;

  :global {
    .adm-tabs-tab-wrapper-stretch {
      flex: none;
    }
  }

  .adm-nav-bar {
    border-bottom: none;
  }

  .adm-tabs-tab-list {
    padding-left: 3px;
  }

  .adm-tabs-tab-wrapper {
    flex: none;
    padding-left: 5px;

    &>div {
      padding-top: 0;
    }
  }

  .adm-tabs-tab.adm-tabs-tab-active {
    font-size: 16px;
  }

  .adm-list-item-content {
    padding: 10px 12px 10px 0;

    .adm-list-item-description {
      color: #9b9b9b;
      font-size: 11px;
    }

    .adm-list-item-content-main {
      padding: 0;
    }

    .adm-list-item-content-main-multi-row {
      padding: 0;
    }

    p {
      margin: 0;
    }
  }
}

.ant-formily-item-label-extra {
  // position: absolute;
  top: 0;
  right: 0;
}